import 'package:fish_redux/fish_redux.dart';
import 'package:test/entity/user.dart';
import 'package:test/global/store/state.dart';

class HomeState implements GlobalBaseState, Cloneable<HomeState> {
  @override
  User user;

  int currentBottomIndex = 0;

  @override
  HomeState clone() {
    return HomeState()
      ..user = user
      ..currentBottomIndex = currentBottomIndex;
  }
}

HomeState initState(Map<String, dynamic> args) {
  HomeState homeState = new HomeState();
  return homeState;
}
